OTReleaseBuffer
Returns the no-copy receive buffer to the system.C INTERFACE
void OTReleaseBuffer(OTBuffer* buf);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
buf
- A pointer to the no-copy receive buffer to be released.
DESCRIPTION
Once a no-copy receive is completed, you need to release theOTBuffer
structure as quickly as possible by calling this function.VALID STATES
AllSEE ALSO
TheOTBuffer
function (page 3-98) obtains the size of the no-copy receive buffer and theOTReadBuffer
(page 3-99) function reads from this buffer.The no-copy receive buffer structure is described by the
OTBuffer
data type (page 3-53).